{include file="header.tpl" title="Bao tri Currency"}
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
   <tr>
    <td width="25%">{$lbl_CURTYPE}</td>
    <td colspan="3" style="color:#FF0000" nowrap="nowrap"><input name="CURTYPE" id="CURTYPE" type="text" readonly="readOnly" value="{$CURTYPE}" size="20" maxlength="2" /></td>
  </tr>
  <tr>
    <td>{$lbl_CURCODE}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="CURCODE" id="CURCODE" type="text" style="background:{$colorCURCODE}" value="{$CURCODE}" size="20" maxlength="3" {if $activefield eq 'enabled'} readonly="readOnly" {/if}/>
      *</span> <input type="submit" name="find" value="    " id="replacement_find" {if $activefield eq 'enabled' } disabled="disabled"{/if} /></td>
    </tr>
  <tr>
    <td>{$lbl_CURDESC}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="CURDESC" id="CURDESC" type="text" style="background:{$colorCURDESC}" value="{$CURDESC}" size="50" maxlength="30" />
      *</span></td>
  </tr>
  <tr>
    <td>{$lbl_EFFDATE}</td>
    <td colspan="3"><input type="text" value="{$EFFDATE}" onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" name="EFFDATE" size="20" readonly="readOnly" /></td>
    </tr>
  <tr>
    <td>{$lbl_MIDRATE}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="MIDRATE" id="MIDRATE" type="text" style="background:{$colorMIDRATE}" value="{$MIDRATE}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
    </tr>
  <tr>
    <td>{$lbl_SMLDENO}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="SMLDENO" id="SMLDENO" type="text" style="background:{$colorSMLDENO}" value="{$SMLDENO}" size="20" maxlength="5" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" />
    </span></td>
  </tr>
  <tr>
    <td>{$lbl_DECIMALNO}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="DECIMALNO" id="DECIMALNO" type="text" style="background:{$colorDECIMALNO}" value="{$DECIMALNO}" size="20" maxlength="1" onkeypress="return numberOnly(event);" class="textright" />
    </span></td>
  </tr>
  <tr>
    <td>{$lbl_LOADSEQ}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="LOADSEQ" id="LOADSEQ" type="text" style="background:{$colorLOADSEQ}" value="{$LOADSEQ}" size="20" maxlength="3" onkeypress="return numberOnly(event);" class="textright" />
    </span></td>
    </tr>
	<tr>
	<td colspan="4"><hr /></td>
	</tr>
  <tr>
    <td>{$lbl_BUYDFTNOT}</td>
    <td><span style="color:#FF0000">
      <input name="BUYDFTNOT" id="BUYDFTNOT" type="text" style="background:{$colorBUYDFTNOT}" value="{$BUYDFTNOT}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
	<td nowrap="nowrap">&nbsp;</td>
	<td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_BUYDFTTC}</td>
    <td nowrap="nowrap"><span style="color:#FF0000">
      <input name="BUYDFTTC" id="BUYDFTTC" type="text" style="background:{$colorBUYDFTTC}" value="{$BUYDFTTC}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
  <td width="25%">&nbsp;</td>
	<td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_BUYDFTSML}</td>
    <td nowrap="nowrap"><span style="color:#FF0000">
      <input name="BUYDFTSML" id="BUYDFTSML" type="text" style="background:{$colorBUYDFTSML}" value="{$BUYDFTSML}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
  <td>{$lbl_BUYMINNOT}</td>
    <td><span style="color:#FF0000">
      <input name="BUYMINNOT" id="BUYMINNOT" type="text" style="background:{$colorBUYMINNOT}" value="{$BUYMINNOT}" size="20" maxlength="13"  onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)" onkeypress="return numberOnly(event);"/>
    </span></td>
	<td width="25%">{$lbl_BUYMAXNOT}</td>
	<td><span style="color:#FF0000">
	  <input name="BUYMAXNOT" id="BUYMAXNOT" type="text" style="background:{$colorBUYMAXNOT}" value="{$BUYMAXNOT}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
	</span></td>
  </tr>  
  <!--<tr>
    <td>{$lbl_BUYMINSML}</td>
    <td><span style="color:#FF0000">
      <input name="BUYMINSML" id="BUYMINSML" type="text" style="background:{$colorBUYMINSML}" value="{$BUYMINSML}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>	
    <td>{$lbl_BUYMAXSML}</td>
    <td><span style="color:#FF0000">
      <input name="BUYMAXSML" id="BUYMAXSML" type="text" style="background:{$colorBUYMAXSML}" value="{$BUYMAXSML}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>	
  </tr>-->
  <tr>
  <td>{$lbl_BUYDFTTT}</td>
    <td><span style="color:#FF0000">
      <input name="BUYDFTTT" id="BUYDFTTT" type="text" style="background:{$colorBUYDFTTT}" value="{$BUYDFTTT}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
	<td width="25%">&nbsp;</td>
	<td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_BUYMINTT}</td>
    <td><span style="color:#FF0000">
      <input name="BUYMINTT" id="BUYMINTT" type="text" style="background:{$colorBUYMINTT}" value="{$BUYMINTT}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
  <td nowrap="nowrap">{$lbl_BUYMAXTT}</td>
	<td nowrap="nowrap"><span style="color:#FF0000">
      <input name="BUYMAXTT" id="BUYMAXTT" type="text" style="background:{$colorBUYMAXTT}" value="{$BUYMAXTT}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
  </tr>  
  <!--<tr>
    <td nowrap="nowrap">{$lbl_BUYMINTC}</td>
    <td nowrap="nowrap"><span style="color:#FF0000">
      <input name="BUYMINTC" id="BUYMINTC" type="text" style="background:{$colorBUYMINTC}" value="{$BUYMINTC}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
  <td nowrap="nowrap">{$lbl_BUYMAXTC}</td>
	<td nowrap="nowrap"><span style="color:#FF0000">
      <input name="BUYMAXTC" id="BUYMAXTC" type="text" style="background:{$colorBUYMAXTC}" value="{$BUYMAXTC}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>	
  </tr>-->
  <tr>
    <td>{$lbl_BUYIBT}</td>
    <td><span style="color:#FF0000">
      <input name="BUYIBT" id="BUYIBT" type="text" style="background:{$colorBUYIBT}" value="{$BUYIBT}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
  <td width="25%">&nbsp;</td>
	<td>&nbsp;</td>
  </tr>
  <tr>
    <td>{$lbl_BUYBOOK}</td>
    <td><span style="color:#FF0000">
      <input name="BUYBOOK" id="BUYBOOK" type="text" style="background:{$colorBUYBOOK}" value="{$BUYBOOK}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
  <td width="25%">&nbsp;</td>
	<td>&nbsp;</td>
  </tr>
  <tr>
  <td colspan="4"><hr /></td>
  </tr>
  <tr>
    <td>{$lbl_SELDFTNOT}</td>
    <td><span style="color:#FF0000">
      <input name="SELDFTNOT" id="SELDFTNOT" type="text" style="background:{$colorSELDFTNOT}" value="{$SELDFTNOT}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
  <td width="25%">&nbsp;</td>
	<td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_SELMINNOT}</td>
    <td nowrap="nowrap"><span style="color:#FF0000">
      <input name="SELMINNOT" id="SELMINNOT" type="text" style="background:{$colorSELMINNOT}" value="{$SELMINNOT}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
    <td nowrap="nowrap">{$lbl_SELMAXNOT}</td>
    <td nowrap="nowrap"><span style="color:#FF0000">
      <input name="SELMAXNOT" id="SELMAXNOT" type="text" style="background:{$colorSELMAXNOT}" value="{$SELMAXNOT}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_SELDFTTT}</td>
    <td nowrap="nowrap"><span style="color:#FF0000">
      <input name="SELDFTTT" id="SELDFTTT" type="text" style="background:{$colorSELDFTTT}" value="{$SELDFTTT}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
  <td width="25%">&nbsp;</td>
	<td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_SELMINTT}</td>
    <td><span style="color:#FF0000">
      <input name="SELMINTT" id="SELMINTT" type="text" style="background:{$colorSELMINTT}" value="{$SELMINTT}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
    <td nowrap="nowrap">{$lbl_SELMAXTT}</td>
    <td nowrap="nowrap"><span style="color:#FF0000">
      <input name="SELMAXTT" id="SELMAXTT" type="text" style="background:{$colorSELMAXTT}" value="{$SELMAXTT}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
  </tr>
  <!--<tr>
    <td nowrap="nowrap">{$lbl_SELDFTTC}</td>
    <td nowrap="nowrap"><span style="color:#FF0000">
      <input name="SELDFTTC" id="SELDFTTC" type="text" style="background:{$colorSELDFTTC}" value="{$SELDFTTC}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
  <td width="25%">&nbsp;</td>
	<td>&nbsp;</td>
  </tr>-->
  <!--<tr>
    <td nowrap="nowrap">{$lbl_SELMINTC}</td>
    <td nowrap="nowrap"><span style="color:#FF0000">
      <input name="SELMINTC" id="SELMINTC" type="text" style="background:{$colorSELMINTC}" value="{$SELMINTC}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
    <td nowrap="nowrap">{$lbl_SELMAXTC}</td>
    <td nowrap="nowrap"><span style="color:#FF0000">
      <input name="SELMAXTC" id="SELMAXTC" type="text" style="background:{$colorSELMAXTC}" value="{$SELMAXTC}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>	
  </tr>-->
  <tr>
    <td>{$lbl_SELIBT}</td>
    <td><span style="color:#FF0000">
      <input name="SELIBT" id="SELIBT" type="text" style="background:{$colorSELIBT}" value="{$SELIBT}" size="20" maxlength="13" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" onblur="formatNumber2(this,this.value,8,4)"/>
    </span></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td colspan="4"><hr /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td></tr>
  
<tr>
<td colspan="4">&nbsp;</td>
</tr>
<tr>
<td colspan="4" align="right" nowrap="nowrap">
    <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'CURCODE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="{$ten_cap_nhat}" {if $activefield eq 'disabled' }disabled="disabled" {/if} class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td colspan="4" align="left" nowrap="nowrap">
<input name="addnew" type="submit" value="{$ten_themmoi}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="{$ten_chitiet}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>

<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
